/* 
 * File:   xmlprocessor.h
 * Author: robbiediaz
 *
 * Created on January 28, 2009, 2:32 PM
 */

#ifndef _XMLPROCESSOR_H
#define	_XMLPROCESSOR_H

#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/sax/HandlerBase.hpp>
#include <xercesc/util/XMLString.hpp>
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <xercesc/framework/MemBufInputSource.hpp>
#include <xercesc/util/XMemory.hpp>
#include <xercesc/util/XercesDefs.hpp>
#include <xercesc/util/TransService.hpp>

#include <iostream>

XERCES_CPP_NAMESPACE_USE

class XmlProcessor {
public:
    XmlProcessor();
    virtual ~XmlProcessor();
    void parseStream(std::string source);
private:
    XercesDOMParser* parser;
    ErrorHandler* errHandler;
};

#endif	/* _XMLPROCESSOR_H */

